package com.lindroy.androidplayer.logic.model.bean

import android.os.Parcelable
import kotlinx.parcelize.Parcelize

/**
 * @author Lin
 * @date 2022/2/7
 * @function
 */

@Parcelize
data class WebViewBean(
    val id: Int = 0,
    val url: String = "",
    val title: String = "",
    var collected: Boolean = false,
    val collectedType: Int = TYPE_ARTICLE
) : Parcelable {

    companion object {
        //文章
        const val TYPE_ARTICLE = 0

        //url
        const val TYPE_URL = 1
    }
}